package mk.com.ldm.corepoint.implementation.shared;

import java.io.Serializable;
import java.util.LinkedList;

@SuppressWarnings("serial")
public class ListObject implements Serializable{
	private String tablename;
	private int primary;
	private LinkedList<ListRow> rows;
	private int returnString;
	
	public ListObject(){}
	
	public ListObject(String tablename, int primary, LinkedList<ListRow> rows) {
		super();
		this.tablename = tablename;
		this.primary = primary;
		this.rows = rows;
	}

	public String getTablename() {
		return tablename;
	}

	public void setTablename(String tablename) {
		this.tablename = tablename;
	}

	public int getPrimary() {
		return primary;
	}

	public void setPrimary(int primary) {
		this.primary = primary;
	}

	public LinkedList<ListRow> getRows() {
		return rows;
	}

	public void setRows(LinkedList<ListRow> rows) {
		this.rows = rows;
	}

	public int getReturnString() {
		return returnString;
	}

	public void setReturnString(int returnString) {
		this.returnString = returnString;
	}
	
	
}
